package com.example.lilei.Fragments;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

import com.example.lilei.Loves.Love_3Activity;
import com.example.lilei.R;

/**
 *
 */
public class Love_12Fragment extends Fragment{
    Button bt;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View v = inflater.inflate(R.layout.fragment_love_12,null);
        bt = (Button) v.findViewById(R.id.button);
        bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(getActivity(),Love_3Activity.class);
                startActivity(intent);
            }
        });
        return v;
    }
}
